﻿namespace Digitalmes.Domain.Mes;

/// <summary>
/// 质量检测项
/// </summary>
[SugarTable("qc_inspect_item", "质量检测项")]
public class QcInspectItem : EntityBase
{
    /// <summary>
    /// 检测项编码
    /// </summary>
    [NotNull]
    [SugarColumn(ColumnDescription = "检测项编码", Length = 32)]
    public string? InspectCode { get; set; }

    /// <summary>
    /// 检测项名称
    /// </summary>
    [NotNull]
    [SugarColumn(ColumnDescription = "检测项名称", Length = 32)]
    public string? InspectName { get; set; }

    /// <summary>
    /// 检测项类型，如 尺寸、重量、外观 等
    /// </summary>
    [NotNull]
    [SugarColumn(ColumnDescription = "检测项类型", Length = 32)]
    public string? InspectType { get; set; }

    /// <summary>
    /// 检测工具，如 目视、电子秤
    /// </summary>
    [SugarColumn(ColumnDescription = "检测工具", Length = 32)]
    public string? InspectTool { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnDescription = "备注", Length = 32)]
    public string? Remark { get; set; }
}
